package com.swpu.demo.service.impl;

import com.swpu.demo.entity.Manufacturer;
import com.swpu.demo.mapper.ManufacturerMapper;
import com.swpu.demo.service.ManufacturerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Author Name
 * @since 2021-05-12
 */
@Service
public class ManufacturerServiceImpl implements ManufacturerService {
    @Autowired
    ManufacturerMapper manufacturerMapper;
    @Override
    public List<Manufacturer> selectManufacturerList() {
        return manufacturerMapper.selectList(null);
    }
}
